run javascript from python